
#ifndef SERVER_THREAD_H_
#define SERVER_THREAD_H_

using namespace std;

#include "IncludesServidor.h"
#include "Partida.h"

class ServerThread : public Thread {
public:
	ServerThread(bool atributo);
	~ServerThread();
	ThreadMutex *mutexHandlers;
	Socket *conex;

private:
	void run();
	static void signalHandler(int signal);
	void iniciarElServidor();
	void finalizarElServidor();
};

#endif /* SERVER_THREAD_H_ */
